home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Tools / TASM V5 / WHEREIS.PAK / MAKEFILE < prev    next >
Encoding:
Text File  |  1996-02-21  |  1.7 KB  |  56 lines

  1. # Make file for Turbo Assembler  WHEREIS sample project.
  2. #   Copyright (c) 1988, 1996 by Borland International, Inc.
  3.  
  4. # The WHEREIS example takes advantage of many special TASM features.
  5.  
  6. #       make -B                 Will build whereis.exe
  7. #       make -B -DDEBUG         Will build the debug version of whereis.exe
  8.  
  9. !if $d(DEBUG)
  10. TASMDEBUG=/zi
  11. LINKDEBUG=/v
  12. !else
  13. TASMDEBUG=
  14. LINKDEBUG=
  15. !endif
  16.  
  17. !if $d(MAKEDIR)
  18. THEINCLUDE=-I$(MAKEDIR)\..\include
  19. !else
  20. THEINCLUDE=
  21. !endif
  22.  
  23. TASM_OPTIONS = $(TASMDEBUG) /dMDL=small /m $(THEINCLUDE)
  24.  
  25. whereis.exe : whereis.obj  iparam.obj   ifindbyt.obj\
  26.               ibytecpy.obj ifindrep.obj ilocstrg.obj\
  27.               iwriteps.obj iskpwhit.obj iasciizs.obj\
  28.               iparsefn.obj ifindfil.obj idelchar.obj\
  29.               iexecdos.obj
  30.   tlink $(LINKDEBUG) whereis+iparam+ifindbyt+\
  31.         ibytecpy+ifindrep+ilocstrg+iwriteps\
  32.         +iskpwhit+iasciizs+iparsefn+ifindfil+idelchar+iexecdos
  33.  
  34. .ASM.OBJ :
  35.   tasm $(TASM_OPTIONS) $*
  36.  
  37. whereis.obj  : whereis.asm iwhglobl.inc kbd.inc dos.inc whusage.inc\
  38.                imacros.mac bios.inc ibios.mac idos.mac
  39.  
  40. iexecdos.obj : iexecdos.asm idos.mac dos.inc imacros.mac ibios.mac bios.inc
  41.  
  42. iwriteps.obj : iwriteps.asm idos.mac dos.inc imacros.mac ibios.mac bios.inc
  43.  
  44. ifindfil.obj : ifindfil.asm iwhglobl.inc idos.mac idos.inc ibios.mac\
  45.                imacros.mac bios.inc kbd.inc dos.inc
  46.  
  47. iasciizs.obj : iasciizs.asm ibios.mac imacros.mac bios.inc idos.mac dos.inc
  48.  
  49. iparam.obj   : iparam.asm iwhglobl.inc dos.inc idos.inc kbd.inc
  50.  
  51. ibytecpy.obj : ibytecpy.asm imacros.mac ibios.mac bios.inc
  52.  
  53. ilocstrg.obj : ilocstrg.asm imacros.mac ibios.mac bios.inc
  54.  
  55. iskpwhit.obj : iskpwhit.asm kbd.inc
  56.